<?php namespace Home\Controller;
use Hdphp\Controller\Controller;
//订单控制器
class CommonController extends Controller{
	//展示
	public function index(){
		//载入模板
		//View::make();
	}
	
	public function jiesuan(){
		
		if(!$_SESSION['username']){  //判断$_SESSION[username	]是否存在
			go(U('Login/index'));
		}else{
			go(U('Order/index'));
		}
	}
		
} 
	
?>